import request from '@/utils/request'
// 获取角色列表
export const getRoleList = params => request.get('/sys/role', {
  params
})
// 新增角色
export const addRole = pass => request.post('/sys/role', pass)
// 修改角色
export const upDatarole = data => request.put(`/sys/role/${data.id}`, data)
// 删除角色
export const delRole = id => request.delete(`/sys/role/${id}`)
